package com.fang.test;

public class User implements Impl {

     private String name;

     private String age;

     private Car car;

    public User(String name, String age, Car car) {
        this.name = name;
        this.age = age;
        this.car = car;
    }

    public User() {
    }

    public Car getCar() {
        return car;
    }

    public void setCar(Car car) {
        this.car = car;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
